package online_exams.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 试题分类表(TQuestionCategory)表实体类
 *
 * @author makejava
 * @since 2024-12-19 16:50:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TQuestionCategoryEntity {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 分类名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 父分类ID，顶级分类为null
     */
    @TableField(value = "parent_id")
    private Integer parentId;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;


}

